<?php


namespace dsp\factory\abstracts;


use dsp\factory\abstracts\shape\Circle;
use dsp\factory\abstracts\shape\Rectangle;

class ShapeFactory extends AbstractFactory
{

    public function getColor(string $color): Color
    {
        // TODO: Implement getColor() method.
    }

    public function getShape(string $shape): Shape
    {
        switch ($shape) {
            case 'circle':
                return new Circle();
            case 'rectangle':
                return new Rectangle();
        }
    }
}